package com.etc.service.impl;

import java.util.List;

import com.etc.entity.AsCapture;
import com.etc.mapper.AsCaptureMapper;
import com.etc.service.IAsCaptureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * 用户素材采集表Service业务层处理
 * 
 * @author ruoyi
 * @date 2022-11-27
 */
@Service
public class AsCaptureServiceImpl implements IAsCaptureService
{
    @Autowired
    private AsCaptureMapper asCaptureMapper;

    /**
     * 查询用户素材采集表
     * 
     * @param id 用户素材采集表主键
     * @return 用户素材采集表
     */
    @Override
    public List selectAsCaptureById(Long id)
    {
        return asCaptureMapper.selectAsCaptureById(id);
    }

    /**
     * 查询用户素材采集表列表
     * 
     * @param asCapture 用户素材采集表
     * @return 用户素材采集表
     */
    @Override
    public List<AsCapture> selectAsCaptureList(AsCapture asCapture)
    {
        return asCaptureMapper.selectAsCaptureList(asCapture);
    }

    /**
     * 新增用户素材采集表
     * 
     * @param asCapture 用户素材采集表
     * @return 结果
     */
    @Override
    public int insertAsCapture(AsCapture asCapture)
    {
        return asCaptureMapper.insertAsCapture(asCapture);
    }

    /**
     * 修改用户素材采集表
     * 
     * @param asCapture 用户素材采集表
     * @return 结果
     */
    @Override
    public int updateAsCapture(AsCapture asCapture)
    {
        return asCaptureMapper.updateAsCapture(asCapture);
    }

    /**
     * 批量删除用户素材采集表
     * 
     * @param ids 需要删除的用户素材采集表主键
     * @return 结果
     */
    @Override
    public int deleteAsCaptureByIds(Long[] ids)
    {
        return asCaptureMapper.deleteAsCaptureByIds(ids);
    }

    /**
     * 删除用户素材采集表信息
     * 
     * @param id 用户素材采集表主键
     * @return 结果
     */
    @Override
    public int deleteAsCaptureById(Long id)
    {
        return asCaptureMapper.deleteAsCaptureById(id);
    }
}
